package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.entity.DemandChangeRequestDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 需求变更申请Mapper接口
 * 
 * @author ruoyi
 * @since 2024-01-01
 */
@Mapper
public interface DemandChangeRequestMapper extends BaseMapper<DemandChangeRequestDO> {

    /**
     * 获取指定项目编号的最大流水号
     * 
     * @param projectCode 项目编号
     * @return 最大流水号
     */
    Integer getMaxChangeNoSeq(@Param("projectCode") String projectCode);
}
